<?php
namespace app\index\controller;

use app\index\model\Apis as ApisModel;
use think\Controller;

/**
 * 控制器基类
 */

class Apis extends Controller
{
    /**
     * 构造函数
     */
    public function __construct()
    {
        $this->model = new \app\index\model\Apis();
    }

    public function testGetMailUrl($sid)
    {
        $record = ApisModel::getByServerId($sid);
        dump($record->mail);
    }
}
